#pragma once

#define Status2CpTimeSyncOpId 0x1001
#define TimeSyncOpId 0x1002

#define CpTimeSyncStatusOpId 0x2001

#pragma pack(1)
typedef struct _OpStatus2CpTimeSync_SetRequestNoReturn {
    uint16_t value;// Ap通知CP TimeSync模块,Ap侧启动状态(ApStatus);
} OpStatus2CpTimeSync_SetRequestNoReturn;
#pragma pack()

#pragma pack(1)
typedef struct _OpTimeSync_SetRequestNoReturn {
    uint8_t mTimeFormat;// 时间格式(TimeFormat)
    uint8_t mYear;// 2000年基准时间，年
    uint8_t mMon;// 月
    uint8_t mDay;// 日
    uint8_t mHour;// 时
    uint8_t mMin;// 分
    uint8_t mSec;// 秒
} OpTimeSync_SetRequestNoReturn;
#pragma pack()

#pragma pack(1)
typedef struct _OpCpTimeSyncStatus_Notify {
    uint16_t value;// CP TimeSync模块通知AP,Ap侧根据状态，重发模块全部接口(CpStatus);
} OpCpTimeSyncStatus_Notify;
#pragma pack()
